package chapter06.Example;

public class E6 {
    static String[] strs = {"aaa", "bbb", "ccc"};
    public static void main(String[] args) {
        //foreach循环遍历数组
        for (String str : strs) {
            str = "add";
        }
        System.out.println("");
        for (int i = 0; i < strs.length; i++) {
        }
        System.out.println("");

    }
}